[NTG-context] Chemical reaction formulas

2021-03-17 Thread David van Diepen
Dear list, According to the information on contextgarden (section chemistry) chemical reactions should be entered as follows: \usemodule[chemic] \startformula \chemical{CaCO_3(s),+,HCl(g),->,CaCl(HCO_3)(s)} \stopformula That produces a formula with the comma's in it, so that's not good. I

[NTG-context] PDF/A and \chemical

2019-01-03 Thread Axel Kielhorn
A happy new year to everyone! I’m trying to generate PDF/A compliant files and have a Problem with chemical formulas in text. The following does not work: \setupinteraction [title=TITLE, subtitle=SUBTITLE, author=AUTHOR, keyword={{KEYWORD1, KEYWORD2}, KEYWORD3}] %% For PDF/A \setupbackend

Re: [NTG-context] Chemical reaction...

2016-11-10 Thread Alan BRASLAU
\startplacechemical \startchemicalformula ... \stopchemicalformula \stopplacechemical Alan On Tue, 8 Nov 2016 20:06:27 +0100 Willi Egger <cont...@boede.nl> wrote: > I am busy to edit an older article in which there are a couple of > chemical fromulas and reactions. >

[NTG-context] Chemical reaction...

2016-11-08 Thread Willi Egger
I am busy to edit an older article in which there are a couple of chemical fromulas and reactions. However, I am stuck because the following throws me an error when uncommenting the line with “\chemical{2H^\oplus}{~waterstof (zuur)}” (something with $ inserted…) Another aspect

Re: [NTG-context] Hyphenation of chemical names

2016-02-07 Thread Hans Hagen
On 2/6/2016 9:19 PM, Alan BRASLAU wrote: ConTeXt has troubles hyphenating chemical names, which in organic chemistry can be funny things such as N-(4-n-alkoxybenzylidene)-4’-alkylaniline. The names can get much worse... The rules for hyphenating in chemistry are well defined. Without putting

[NTG-context] Hyphenation of chemical names

2016-02-06 Thread Alan BRASLAU
ConTeXt has troubles hyphenating chemical names, which in organic chemistry can be funny things such as N-(4-n-alkoxybenzylidene)-4’-alkylaniline. The names can get much worse... The rules for hyphenating in chemistry are well defined. Without putting specific hyphenating hints into the names

Re: [NTG-context] Drawing chemical structures

2013-11-21 Thread Alan Braslau
On Thu, 21 Nov 2013 15:55:09 -0500 Aditya Mahajan adit...@umich.edu wrote: Unicode alpha gets translated to \greekalpha, so you need a font (like dejavu) that includes those glyphs Yes, thanks for this clarification. When I tested this earlier, I was indeed using dejavu... In the chemistry

[NTG-context] Drawing chemical structures

2013-11-21 Thread DesdeChaves
Dear Sirs, I'm trying to run some code from the ppchtex manual, however, the chemical structures are not correctly drawn. See the example: https://www.dropbox.com/s/w7v8kouc4glndf0/chemicerror.pdf. I found this problem en Minimals (last version) and on TexLive 2013. \setupbodyfont[11pt

Re: [NTG-context] Drawing chemical structures

2013-11-21 Thread Aditya Mahajan
On Thu, 21 Nov 2013, Alan Braslau wrote: (For some reason, unicode \alpha currently disappears - a font issue. This worked early so is indeed a bug.) Unicode alpha gets translated to \greekalpha, so you need a font (like dejavu) that includes those glyphs. Aditya

Re: [NTG-context] Drawing chemical structures

2013-11-21 Thread Alan Braslau
on one or two minor details that Hans and myself have not yet take care of - just a question of getting around to it. Indeed, we NEED to release the new manual... Alan \setupbodyfont[11pt] \starttext \startchemical[bottom=1.75,size=big,frame=on] \bottext{\alpha-Glycerophosphate} \chemical[ONE

Re: [NTG-context] Drawing chemical structures

2013-11-21 Thread Alan Braslau
Hello, We have completely rewritten the chemical macros from ppchtex, taking some liberty with some details of the syntax. I will look into your examples to see what is going wrong. Alan On Thu, 21 Nov 2013 18:10:45 + DesdeChaves desdecha...@gmail.com wrote: Dear Sirs, I'm trying

[NTG-context] [***SPAM***] Spacing and font problem with \chemical inside display math

2012-12-13 Thread Romain Diss
Hi all, I found what I suppose to be a bug with the \chemical command: - when one use \chemical inside display math, the spacing is wrong around the \chemical stuff. The font change inside \chemical also persists outside the command. - if one enclose the \chemical command into curly braces

Re: [NTG-context] Spacing and font problem with \chemical inside display math

2012-12-13 Thread Romain Diss
Strange, why did I get a spam tag on this message… -- Romain Diss romain.d...@yahoo.fr ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] Spacing and font problem with \chemical inside display math

2012-12-13 Thread Alan BRASLAU
We are currently in the process of a complete re-write of the chemical macros. In fact, we are almost finished and Hans is including the new macros in the beta (as fast as he can keep up with my changes...). In your example, I see the spacing problem in display math but do not see the font

[NTG-context] [***SPAM***] Re: Spacing and font problem with \chemical inside display math

2012-12-13 Thread Romain Diss
on line 3 where the last parenthesis is smaller than expected. Rather than display math (as was suggested with ppchTeX), we have now introduced \startchemicalformula \stopchemicalformula in order to display a chemical formula. Yes but in my cases I do want a mathematic display

[NTG-context] Wrong results for chemical structures and reactions

2012-10-02 Thread Marco Patzer
Hi, chemical structures and reactions produce wrong results. Here is one example from the wiki and two from the manual. \starttext %% does not typeset the reaction, prints the commas, wrong spacing %% and no arrow \startformula \chemical{2H_2,+,O_2,-,2H_2O} \stopformula %% same here, GIVES

Re: [NTG-context] Wrong results for chemical structures and reactions

2012-10-02 Thread Alan BRASLAU
On Tue, 2 Oct 2012 09:40:35 +0200 Marco Patzer home...@lavabit.com wrote: Hi, chemical structures and reactions produce wrong results. Here is one example from the wiki and two from the manual. \starttext %% does not typeset the reaction, prints the commas, wrong spacing

Re: [NTG-context] Wrong results for chemical structures and reactions

2012-10-02 Thread Marco Patzer
2012-10-02 Alan BRASLAU alan.bras...@cea.fr: Hi Alan chemical structures and reactions produce wrong results. Here is one example from the wiki and two from the manual. […] \startchemicalformula not \startformula \startchemicalformula \chemical{2H_2} \chemical

Re: [NTG-context] Wrong results for chemical structures and reactions

2012-10-02 Thread Marco Patzer
2012-10-02 Alan BRASLAU alan.bras...@cea.fr: Try the following: \starttext \startchemicalformula \chemical{2H_2} \chemical{+} \chemical{O_2} \chemical{-} \chemical{2H_2O} \stopchemicalformula \chemical{-} is not rendered correctly. \startchemicalformula \chemical{2H_2

[NTG-context] Using comma character inside chemical

2012-04-01 Thread Jaroslav Hajtmar
Hello all, Is there a way to use comma character or semicolon character inside the chemical formula? Comma character is used as a delimiter of individual items in the formula. When is there command for example \lettertilde, is there something like \lettercomma (\charcomma), \lettersemicolon

Re: [NTG-context] Using comma character inside chemical

2012-04-01 Thread Hans Hagen
On 1-4-2012 15:15, Jaroslav Hajtmar wrote: Hello all, Is there a way to use comma character or semicolon character inside the chemical formula? Comma character is used as a delimiter of individual items in the formula. When is there command for example \lettertilde, is there something like

Re: [NTG-context] Using comma character inside chemical

2012-04-01 Thread Jaroslav Hajtmar
inside the chemical formula? Comma character is used as a delimiter of individual items in the formula. When is there command for example \lettertilde, is there something like \lettercomma (\charcomma), \lettersemicolon (\charcomma) and others nonalphanumerics characters (which would be used inside

[NTG-context] Equilibrium in chemical resulted in Undefined Control Sequence error

2011-10-11 Thread Hongwen Qiu
Hi, The following minimal example: == \starttext \chemical{A,+,B,-,AB} \stoptext == gives the following error under context version: 2011.10.08 11:42, luatex version beta-0.70.1-2011051918: ! Undefined control sequence. system

[NTG-context] the other blog (chemical stuff)

2009-03-06 Thread Hans Hagen
... the following version supports nested braces and numbers (we can let this evolve in a proper chemical subsystem if needed since eventually i will replace ppchtex anyway) \startluacode local molecule = { } local format, sprint = string.format, tex.sprint function commands.justtext(one) sprint

Re: [NTG-context] \bTABLE and \chemical

2008-09-09 Thread Wolfgang Schuster
On Mon, Sep 8, 2008 at 6:38 PM, Alan BRASLAU [EMAIL PROTECTED] wrote: I have not understood how tables and \chemical interact. The second case in the minimal example below demonstrates unexpected/incorrect centering when using \chemical and \bTABLE. Am I missing something? Thanks. Alan

Re: [NTG-context] \bTABLE and \chemical

2008-09-09 Thread Alan BRASLAU
On Tuesday 09 September 2008 08:33:19 Wolfgang Schuster wrote: \dontleavehmode\startchemical Thank you. This works, of course. I suppose that it is a subtlety why this is necessary with \bTable but not with \starttable... Should this perhaps be included in \startchemical or would that wreak

[NTG-context] \bTABLE and \chemical

2008-09-08 Thread Alan BRASLAU
I have not understood how tables and \chemical interact. The second case in the minimal example below demonstrates unexpected/incorrect centering when using \chemical and \bTABLE. Am I missing something? Thanks. Alan \starttext \usemodule[chemic] \setupchemical[size=small,scale=200,width=fit

Re: [NTG-context] \chemical and MKIV

2008-02-22 Thread Peter Münster
On Thu, Feb 21 2008, Mojca Miklavec wrote: On Thu, Feb 21, 2008 at 11:23 PM, Peter Münster wrote: The following test-file produces an error: % engine=luatex \usemodule[chemic] \starttext \chemical{CO_2} \stoptext The issue probably needs to be solved, but I happily use

Re: [NTG-context] \chemical and MKIV

2008-02-22 Thread Wolfgang Schuster
On Thu, Feb 21, 2008 at 11:23 PM, Peter Münster [EMAIL PROTECTED] wrote: Hello, The following test-file produces an error: % engine=luatex \usemodule[chemic] \starttext \chemical{CO_2} \stoptext This is tooo long. \usemodule[chemic] is enough to produce the error with mkiv

Re: [NTG-context] \chemical and MKIV

2008-02-22 Thread Mojca Miklavec
On Fri, Feb 22, 2008 at 9:23 AM, Peter Münster wrote: On Thu, Feb 21 2008, Mojca Miklavec wrote: On Thu, Feb 21, 2008 at 11:23 PM, Peter Münster wrote: The following test-file produces an error: % engine=luatex \usemodule[chemic] \starttext \chemical{CO_2

[NTG-context] \chemical and MKIV

2008-02-21 Thread Peter Münster
Hello, The following test-file produces an error: % engine=luatex \usemodule[chemic] \starttext \chemical{CO_2} \stoptext ERROR: Undefined control sequence. --- TeX said --- argument \s !chemical\c !x1 \setvalue #1-\expandafter \def \csname #1

Re: [NTG-context] \chemical and MKIV

2008-02-21 Thread Mojca Miklavec
On Thu, Feb 21, 2008 at 11:23 PM, Peter Münster wrote: Hello, The following test-file produces an error: % engine=luatex \usemodule[chemic] \starttext \chemical{CO_2} \stoptext The issue probably needs to be solved, but I happily use Taco's macro for that purpose (works better

[NTG-context] \chemical{} + \title{}

2007-03-20 Thread Tobias Burnus
Hi, I'd like to typeset a chemical compound in a \chapter. However, when I try so, all elements are shown in italics. Example: --- \usemodule[chemic] \title{Chemical \chemical{La_{1-x}Ca_xCoO_3}} Chemical \chemical{La_{1-x}Ca_xCoO_3} \end --- Any ideas

Re: [NTG-context] \chemical{} + \title{}

2007-03-20 Thread Tobias Burnus
Hi, Mojca Miklavec wrote: On 3/20/07, Tobias Burnus wrote: I'd like to typeset a chemical compound in a \chapter. However, when I try so, all elements are shown in italics. Example: --- \usemodule[chemic] \title{Chemical \chemical{La_{1-x}Ca_xCoO_3}} Chemical

Re: [NTG-context] \chemical{} + \title{}

2007-03-20 Thread Mojca Miklavec
On 3/20/07, Tobias Burnus wrote: Hi, I'd like to typeset a chemical compound in a \chapter. However, when I try so, all elements are shown in italics. Example: --- \usemodule[chemic] \title{Chemical \chemical{La_{1-x}Ca_xCoO_3}} Chemical \chemical{La_{1-x}Ca_xCoO_3} \end

Re: [NTG-context] Chemical structure formula flows out

2006-11-14 Thread Hans Hagen
Zhichu Chen wrote: Hello I've been studying PPCHTEX these days, it's very powerful, and I cannot control it well. I just wrote a chemical struture like: \startchemical [size=small,scale=small,width=fit,height=fit,frame=on] \chemical[SIX,SB13456

Re: [NTG-context] Chemical structure formula flows out

2006-11-14 Thread Zhichu Chen
It sounds so cool! I love metapost. On 11/14/06, Hans Hagen [EMAIL PROTECTED] wrote: Zhichu Chen wrote: Hello I've been studying PPCHTEX these days, it's very powerful, and I cannot control it well. I just wrote a chemical struture like: \startchemical [size

[NTG-context] Chemical structure formula flows out

2006-11-09 Thread Zhichu Chen
Hello I've been studying PPCHTEX these days, it's very powerful, and I cannot control it well. I just wrote a chemical struture like: \startchemical [size=small,scale=small,width=fit,height=fit,frame=on] \chemical[SIX,SB13456,DB2,Z] [C,C,C,C,C,C] \chemical[PB:Z1

[NTG-context] Typesetting chemical reaction equations

2006-08-19 Thread Tayebe Bagheri
I need the reaction of NTG with limestone. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

[NTG-context] Typesetting chemical reaction equations

2006-01-27 Thread Ville Voipio
chemists using? And how do I switch off the equation numbering for the chemical reactions (I'd like to have the mathematical formulae still numbered)? TIA, - Ville ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] Typesetting chemical reaction equations

2006-01-27 Thread Hans Hagen
point with this? What are you chemists using? And how do I switch off the equation numbering for the chemical reactions (I'd like to have the mathematical formulae still numbered)? \usemodule[chemic] \placeformula[-] \startformula \chemical{NH_3(g),+,H^+(aq.),+,Cl^-(aq.),-,NH_4^+(aq.),+,Cl

Re: [NTG-context] Typesetting chemical reaction equations

2006-01-27 Thread Ville Voipio
And how do I switch off the equation numbering for the chemical reactions (I'd like to have the mathematical formulae still numbered)? Stupid me. Just by leaving the \placeformula out. (Maybe I should go and get something to eat, my brain seems to be in some sort of energy-saving mode

Re: [NTG-context] Typesetting chemical reaction equations

2006-01-27 Thread Ville Voipio
\usemodule[chemic] \placeformula[-] \startformula \chemical{NH_3(g),+,H^+(aq.),+,Cl^-(aq.),-,NH_4^+(aq.),+,Cl^-(aq.)} \stopformula Dank u! - Ville ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] Typesetting chemical reaction equations

2006-01-27 Thread Hans Hagen
Ville Voipio wrote: And how do I switch off the equation numbering for the chemical reactions (I'd like to have the mathematical formulae still numbered)? Stupid me. Just by leaving the \placeformula out. (Maybe I should go and get something to eat, my brain seems to be in some sort

Re: [NTG-context] Typesetting chemical reaction equations

2006-01-27 Thread Hans Hagen
Ville Voipio wrote: \usemodule[chemic] \placeformula[-] \startformula \chemical{NH_3(g),+,H^+(aq.),+,Cl^-(aq.),-,NH_4^+(aq.),+,Cl^-(aq.)} \stopformula Dank u! Graag gedaan btw, this is documented in the ppchtex manual